define([],function(){
    var tpl = {};
    tpl.prematureOvarianFailureList = function(){
        var html='';
        html += prematureOvarianFailureList();
        return html;
    };
    var prematureOvarianFailureList = function(){
        return '<script type="text/html" id="prematureOvarianFailureList-tpl">'+
                '{{each data as value,i}}'+
                    '{{if value.userId}}'+
                    '<div class="clearfix user-card" userId = "{{value.userId}}" type="{{value.type}}" gender="{{value.gender}}">'+
                        '<div>'+
                            '<span class="user-title">'+
                            '{{if value.gender == "F"}}'+
                            '   <img src="page/followup/imgs/comm/girl.png" alt=""/>'+
                            '{{else}}'+
                            '   <img src="page/followup/imgs/comm/boy.png" alt=""/>'+
                            '{{/if}}'+
                            '</span>'+
                        '</div>'+
                        '<div>'+
                            '<ul class="clearfix user-label">'+
                                '<li>Name</li>'+
                                '<li>Tel</li>'+
                            '</ul>'+
                            '<ul class="clearfix">'+
                                '<li class="card-name">{{value.userName}}</li>'+
                                '<li class="card-tel">{{value.phoneNum}}</li>'+
                            '</ul>'+
                        '</div>'+
                    '</div>'+
                    '{{else}}'+
                        '<div class="clearfix user-card"></div>'+
                    '{{/if}}'+
                '{{/each}}'+
          '</script>'
    };
    return tpl;
});
